package com.springboot.test.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@TableName("trade_record")
@Data
public class TradeRecordEntity extends BaseEntity{

    private String userCode;

    private String goodsCode;

    /**
     * 交易状态 0已支付 1已退款 2已完成
     */
    private Integer tradeStatus;

    /**
     * 交易金额
     */
    private BigDecimal tradePrice;
}
